package com.foryang.springcloud.service.impl;


import com.foryang.springcloud.entity.SystemUser;
import com.foryang.springcloud.mapper.UserMapper;
import com.foryang.springcloud.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public SystemUser getByUsername(String username) {
        return userMapper.getByUsername(username);
    }
}
